﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CPlatePrintSys.Annotation.ViewModels;
using CPlatePrintSys.Annotation.Views;
using CPlatePrintSys.Infrastructure;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Navigation.Regions;

namespace CPlatePrintSys.Annotation
{
    public class AnnotationModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            AnnotationManager.Instance.Initialize();
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<DxfAnnotationView, DxfAnnotationViewModel>();
            containerRegistry.RegisterForNavigation<SheetLayoutView, SheetLayoutViewModel>();
        }
    }
}
